import React, {Component} from 'react';
import ReactDOM from 'react-dom';
import {
    createPage
} from 'nc-lightapp-front';

import ContractChange from './container';
import { handleHash, getAppPageConfig } from 'src/hrpub/common/utils/utils';
const appcode = getAppPageConfig().appcode, pagecode = getAppPageConfig().pagecode;
const ChangeModel  = handleHash('2019910142210123', `c=${appcode}&p=${pagecode}`)(
    createPage({
        // billinfo: [
        //     {
        //         billtype: 'grid', 
        //         pagecode: appcode, 
        //         headcode: 'dataList'
        //     },
        //     {
        //         billtype: 'extcard', 
        //         pagecode: appcode, 
        //         headcode: 'dataBase',
        //         bodycode: ['dataBefore', 'dataAfter']
        //     }
        // ]
    })(ContractChange)
)
ReactDOM.render(<ChangeModel/>, document.getElementById('app'));

